package com.example.hotelback.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Room {

    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("roomImage")
    private String roomImage;
    private BigDecimal price;
    private String type;
    private String des;
    @TableField("peopleNum")
    private Integer peopleNum;
    @TableField("bedNum")
    private Integer bedNum;
    @TableField("sumRoom")
    private Integer sumRoom;
    @TableField("reserveRoom")
    private Integer reserveRoom;
    @TableField("isDelete")
    private Integer isDelete;
}
